package com.learing.groupChat.packet;

import com.learing.codec.protocol.Packet;
import com.learing.session.Session;
import lombok.Data;

import static com.learing.Command.GROUP_MESSAGE_RESPONSE;

@Data
public class GroupMessageResponsePacket extends Packet {

    private String fromGroupId;

    private Session fromUser;

    private String message;

    @Override
    public Byte getCommand() {

        return GROUP_MESSAGE_RESPONSE;
    }
}